FROM alpine:latest

WORKDIR /app

COPY purchaseService /app
COPY idl/purchase.thrift /app
COPY idl/base.thrift /app
COPY org6.example.com /app/org6.example.com

WORKDIR /app

RUN chmod +x purchaseService

CMD ["./purchaseService"]

EXPOSE 9090